﻿using Basic.FlowRemoteModel.NodeFormData.Model;

namespace Basic.FlowCollect
{
    public interface INodeFormDataRelationCollect
    {
        void Clear ( long flowId );
        void ClearByNodeId ( long nodeId );
        DataRelation[] Gets ( long nodeId );
        Result[] GetsByFlowId<Result> ( long flowId ) where Result : class, new();
        void Sync ( long flowId, long nodeId, DataRelation[] adds );
    }
}